package com.hornsun.repository.mapper;

import com.hornsun.domain.dbo.Thumbnail;
import com.hornsun.domain.dbo.ThumbnailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Component;

@Component
public interface ThumbnailMapper {
    long countByExample(ThumbnailExample example);

    int deleteByExample(ThumbnailExample example);

    int deleteByPrimaryKey(String thumbnailGuid);

    int insert(Thumbnail record);

    int insertSelective(Thumbnail record);

    List<Thumbnail> selectByExampleWithRowbounds(ThumbnailExample example, RowBounds rowBounds);

    List<Thumbnail> selectByExample(ThumbnailExample example);

    Thumbnail selectByPrimaryKey(String thumbnailGuid);

    int updateByExampleSelective(@Param("record") Thumbnail record, @Param("example") ThumbnailExample example);

    int updateByExample(@Param("record") Thumbnail record, @Param("example") ThumbnailExample example);

    int updateByPrimaryKeySelective(Thumbnail record);

    int updateByPrimaryKey(Thumbnail record);
}